From: Stefan Monnier Date: Sat, 12 Sep 2009 01:21:30 +0000 (+0000) Subject: (Fwhere_is_internal): Use nconc2. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10530 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=131ab68cc2111fc93cd8c0f0c72712905bdf72f7;p=emacs.git (Fwhere_is_internal): Use nconc2. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0559a3c45cf..5eada7c482a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-09-12 Stefan Monnier + + * keymap.c (Fwhere_is_internal): Use nconc2. + 2009-09-11 Alan Mackenzie * dispnew.c (Fsend_string_to_terminal): Amend doc string to cover diff --git a/src/keymap.c b/src/keymap.c index bcbeda72c8c..e4f68d386de 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2901,10 +2901,7 @@ remapped command in the returned list. */) { Lisp_Object seqs = where_is_internal (function, keymaps, !NILP (noindirect), nomenus); - Lisp_Object args[2]; - args[0] = Freverse (seqs); - args[1] = remapped_sequences; - remapped_sequences = Fnconc (2, args); + remapped_sequences = nconc2 (Freverse (seqs), remapped_sequences); continue; }